package com.punai.externalccb.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.punai.externalccb.bo.YDCostAnalysisBO;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.punai.common.annotation.Excel;
import com.punai.common.core.domain.BaseEntity;

/**
 * costanalysis对象 yd_costanalysis
 *
 * @author tj
 * @date 2023-04-16
 */
public class YdCostanalysis extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private String id;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer oid;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer opid;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String xmfy;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal bhshtsr;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal xxssl;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal glffl;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal kdkjxssl;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal fjssl;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal hszj;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer fylx;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal xxs;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal hshtsr;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal sjzffb;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal kdkjxs;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal zzs;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal fjs;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal bhscbhj;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal hscbhj;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal bhsyke;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal hsyke;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal bhsykl;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal hsykl;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer datatype;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String stagetype;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String proId;


    public static YdCostanalysis convert(YDCostAnalysisBO YDCostAnalysisBO) {
        YdCostanalysis YDCostAnalysis = new YdCostanalysis();

        YDCostAnalysis.setOid(YDCostAnalysisBO.getID());
        YDCostAnalysis.setOpid(YDCostAnalysisBO.getPID());
        YDCostAnalysis.setXmfy(YDCostAnalysisBO.getXmfy());
        YDCostAnalysis.setBhshtsr(YDCostAnalysisBO.getBhshtsr());
        YDCostAnalysis.setXxssl(YDCostAnalysisBO.getXxssl());
        YDCostAnalysis.setGlffl(YDCostAnalysisBO.getGlffl());
        YDCostAnalysis.setKdkjxssl(YDCostAnalysisBO.getKdkjxssl());
        YDCostAnalysis.setFjssl(YDCostAnalysisBO.getFjssl());
        YDCostAnalysis.setHszj(YDCostAnalysisBO.getHszj());
        YDCostAnalysis.setFylx(YDCostAnalysisBO.getFylx());
        YDCostAnalysis.setXxs(YDCostAnalysisBO.getXxs());
        YDCostAnalysis.setHshtsr(YDCostAnalysisBO.getHshtsr());
        YDCostAnalysis.setSjzffb(YDCostAnalysisBO.getSjzffb());
        YDCostAnalysis.setKdkjxs(YDCostAnalysisBO.getKdkjxs());
        YDCostAnalysis.setZzs(YDCostAnalysisBO.getZzs());
        YDCostAnalysis.setFjs(YDCostAnalysisBO.getFjs());
        YDCostAnalysis.setBhscbhj(YDCostAnalysisBO.getBhscbhj());
        YDCostAnalysis.setHscbhj(YDCostAnalysisBO.getHscbhj());
        YDCostAnalysis.setBhsyke(YDCostAnalysisBO.getBhsyke());
        YDCostAnalysis.setHsyke(YDCostAnalysisBO.getHsyke());
        YDCostAnalysis.setBhsykl(YDCostAnalysisBO.getBhsykl());
        YDCostAnalysis.setHsykl(YDCostAnalysisBO.getHsykl());
        YDCostAnalysis.setDatatype(YDCostAnalysisBO.getDataType());

        return YDCostAnalysis;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public Integer getOpid() {
        return opid;
    }

    public void setOpid(Integer opid) {
        this.opid = opid;
    }

    public String getXmfy() {
        return xmfy;
    }

    public void setXmfy(String xmfy) {
        this.xmfy = xmfy;
    }

    public BigDecimal getBhshtsr() {
        return bhshtsr;
    }

    public void setBhshtsr(BigDecimal bhshtsr) {
        this.bhshtsr = bhshtsr;
    }

    public BigDecimal getXxssl() {
        return xxssl;
    }

    public void setXxssl(BigDecimal xxssl) {
        this.xxssl = xxssl;
    }

    public BigDecimal getGlffl() {
        return glffl;
    }

    public void setGlffl(BigDecimal glffl) {
        this.glffl = glffl;
    }

    public BigDecimal getKdkjxssl() {
        return kdkjxssl;
    }

    public void setKdkjxssl(BigDecimal kdkjxssl) {
        this.kdkjxssl = kdkjxssl;
    }

    public BigDecimal getFjssl() {
        return fjssl;
    }

    public void setFjssl(BigDecimal fjssl) {
        this.fjssl = fjssl;
    }

    public BigDecimal getHszj() {
        return hszj;
    }

    public void setHszj(BigDecimal hszj) {
        this.hszj = hszj;
    }

    public Integer getFylx() {
        return fylx;
    }

    public void setFylx(Integer fylx) {
        this.fylx = fylx;
    }

    public BigDecimal getXxs() {
        return xxs;
    }

    public void setXxs(BigDecimal xxs) {
        this.xxs = xxs;
    }

    public BigDecimal getHshtsr() {
        return hshtsr;
    }

    public void setHshtsr(BigDecimal hshtsr) {
        this.hshtsr = hshtsr;
    }

    public BigDecimal getSjzffb() {
        return sjzffb;
    }

    public void setSjzffb(BigDecimal sjzffb) {
        this.sjzffb = sjzffb;
    }

    public BigDecimal getKdkjxs() {
        return kdkjxs;
    }

    public void setKdkjxs(BigDecimal kdkjxs) {
        this.kdkjxs = kdkjxs;
    }

    public BigDecimal getZzs() {
        return zzs;
    }

    public void setZzs(BigDecimal zzs) {
        this.zzs = zzs;
    }

    public BigDecimal getFjs() {
        return fjs;
    }

    public void setFjs(BigDecimal fjs) {
        this.fjs = fjs;
    }

    public BigDecimal getBhscbhj() {
        return bhscbhj;
    }

    public void setBhscbhj(BigDecimal bhscbhj) {
        this.bhscbhj = bhscbhj;
    }

    public BigDecimal getHscbhj() {
        return hscbhj;
    }

    public void setHscbhj(BigDecimal hscbhj) {
        this.hscbhj = hscbhj;
    }

    public BigDecimal getBhsyke() {
        return bhsyke;
    }

    public void setBhsyke(BigDecimal bhsyke) {
        this.bhsyke = bhsyke;
    }

    public BigDecimal getHsyke() {
        return hsyke;
    }

    public void setHsyke(BigDecimal hsyke) {
        this.hsyke = hsyke;
    }

    public BigDecimal getBhsykl() {
        return bhsykl;
    }

    public void setBhsykl(BigDecimal bhsykl) {
        this.bhsykl = bhsykl;
    }

    public BigDecimal getHsykl() {
        return hsykl;
    }

    public void setHsykl(BigDecimal hsykl) {
        this.hsykl = hsykl;
    }

    public Integer getDatatype() {
        return datatype;
    }

    public void setDatatype(Integer datatype) {
        this.datatype = datatype;
    }

    public String getStagetype() {
        return stagetype;
    }

    public void setStagetype(String stagetype) {
        this.stagetype = stagetype;
    }

    public String getProId() {
        return proId;
    }

    public void setProId(String proId) {
        this.proId = proId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("oid", getOid())
                .append("opid", getOpid())
                .append("xmfy", getXmfy())
                .append("bhshtsr", getBhshtsr())
                .append("xxssl", getXxssl())
                .append("glffl", getGlffl())
                .append("kdkjxssl", getKdkjxssl())
                .append("fjssl", getFjssl())
                .append("hszj", getHszj())
                .append("fylx", getFylx())
                .append("xxs", getXxs())
                .append("hshtsr", getHshtsr())
                .append("sjzffb", getSjzffb())
                .append("kdkjxs", getKdkjxs())
                .append("zzs", getZzs())
                .append("fjs", getFjs())
                .append("bhscbhj", getBhscbhj())
                .append("hscbhj", getHscbhj())
                .append("bhsyke", getBhsyke())
                .append("hsyke", getHsyke())
                .append("bhsykl", getBhsykl())
                .append("hsykl", getHsykl())
                .append("datatype", getDatatype())
                .append("stagetype", getStagetype())
                .append("proId", getProId())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}
